% GAUTIER LE BIHAN - 2020
% Replication files for "Shocks vs Menu Costs: Patterns of Price Rigidity in an Estimated Multi-Sector Menu-Cost Model?" Review of Economics and Statistics
%
% This code produces Table 6

clear;
tic


cd ..\..\IRF\VC_mutisector_counterfact

nb_sect=5


tt=nb_sect;
load st_sector;
%nb sectors

for ii=1:3
kur=st_sector(ii).st_sector(:,4*tt+1:5*tt);
f=st_sector(ii).st_sector(:,1:tt);
x=kur./f;
kf_moy=mean(x');

mon_indic=[kf_moy]';
ampli=kf_moy./kf_moy(5);

mon_indic=[kf_moy; ampli]';
indic(ii).indic=mon_indic;
%save indic indic
end